<div class="user_profile">
	<p class="dateformat">Member since: <%= @user.created_at %></p>
	<p>
		Nickname: <b><%=h @user.nickName %></b>
	</p>
	
	<% if (@user.isAdmin?) %>
		<%= image_tag('/images/Man_Grey.png') %>
	<% else %>	
		<%= image_tag('/images/Man_DBrown.png') %>
	<% end %>

<p>
  <b><%=h @user.firstName %> <%=h @user.name %>	</b><br />
  <%= @user.email %>
</p>

<p><br/>
	Address:<br/>
	<div style="margin-left:150px">
	<%=h @user.address.street %> <%=h @user.address.streetNr %><br/>
	<%=h @user.address.city %><br/>
	<%=h @user.address.zip %>
	</div>
</p>
</div>